package com.mysteel.ware.exception;

/**
 * ProjectName: mail
 * ClassName: NoStockException
 * Description:
 * date: 2021/03/24/024 14:35
 *
 * @author xiaochao
 */
public class NoStockException extends Exception {
    private Long skuId;

    public NoStockException(Long skuId) {
        super("商品id：" + skuId + "没有足够的库存了");
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }
}
